Narrative: 
In order to save PDDL data
As a software component
I want to register domain objects for further PDDL generation

Scenario: Object without an annotated name
Given a PDDL obj without an annotated name
When I register all these objects
Then an exception in thrown with message 'No annotated PDDLName field for class com.googlecode.ddplan.testdomain.ObjWithoutName'

Scenario: Object without an annotated class
Given a PDDL obj without an annotated class
When I register all these objects
Then an exception in thrown with message 'Trying to register an object whose class is not annotated with PDDLType. Class: com.googlecode.ddplan.testdomain.ObjWithoutType'